package com.foton.lotteryapplication.process.service;

import com.foton.lotteryapplication.process.req.DrawProcessReq;
import com.foton.lotteryapplication.process.res.DrawProcessResult;
import com.foton.lotteryapplication.process.res.RuleQuantificationCrowdResult;
import com.foton.lotterydomain.rule.model.req.DecisionMatterReq;

/**
 * @Author RenPu
 * @Date 2024/1/3 11:48
 * @Version 1.0
 * @Description: 活动编排 -接口层
 **/
public interface IActivityProcess {


    /**
     * 执行抽奖流程
     * @param req 抽奖请求
     * @return    抽奖结果
     */
    DrawProcessResult doDrawProcess(DrawProcessReq req);


    /**
     * 规则量化人群，返回可参与的活动ID
     * @param req
     * @return
     */
    RuleQuantificationCrowdResult doRuleQuantificationCrowd(DecisionMatterReq req);


}
